i = 3
f1 = 1
f2 = 1
f3 = 1
m = 50
while i <= m:
    f3 = f1 +f2
    f1 = f2
    f2 = f3
    print("第%d项为%d" %(i,f2))
    i = i+1